#!/bin/sh

# Generates boilerplate code for objects to be used

object_names=( User Movie MovieTheatre Ticket MovieRequest PaymentInfo Purchase ShippingInfo Webservice )
path="includes/" # Path from current location to file write location
ext=".class.php" # File extension to be used

for obj in ${object_names[@]}
do
  echo "<?php
  
class "$obj" {

}

?>" > $path$obj$ext
done
